<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: JCGroupCallback类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_j_c_group_callback-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCGroupCallback类 参考<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html">群组模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_j_c_group_callback_8h_source.html">JCGroupCallback.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a8c15219cb3a3360447ecafa803b921ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a8c15219cb3a3360447ecafa803b921ad">onFetchGroups</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, std::list&lt; <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> &gt; *groups, INT64 updateTime, INT64 baseTime, bool fullUpdated)=0</td></tr>
<tr class="separator:a8c15219cb3a3360447ecafa803b921ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a339a43526d996090c0880be4ca64be08"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a339a43526d996090c0880be4ca64be08">onFetchGroupInfo</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> *groupItem, std::list&lt; <a class="el" href="class_j_c_group_member.html">JCGroupMember</a> &gt; *members, INT64 updateTime, INT64 baseTime, bool fullUpdated)=0</td></tr>
<tr class="separator:a339a43526d996090c0880be4ca64be08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8fc43ab45f05c3d24be2424059486b3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#ab8fc43ab45f05c3d24be2424059486b3">onGroupListChange</a> (std::list&lt; <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> &gt; *groupList, INT64 updateTime, INT64 baseTime)=0</td></tr>
<tr class="separator:ab8fc43ab45f05c3d24be2424059486b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001f375d8fe4481cfcdbc6ba0040c0c8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a001f375d8fe4481cfcdbc6ba0040c0c8">onGroupInfoChange</a> (const char *groupId, std::list&lt; <a class="el" href="class_j_c_group_member.html">JCGroupMember</a> &gt; *memberList, INT64 updateTime, INT64 baseTime)=0</td></tr>
<tr class="separator:a001f375d8fe4481cfcdbc6ba0040c0c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a144693a85c66d55a9a82b01cd8b64ae5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a144693a85c66d55a9a82b01cd8b64ae5">onCreateGroup</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> *groupItem, INT64 updateTime, INT64 baseTime)=0</td></tr>
<tr class="separator:a144693a85c66d55a9a82b01cd8b64ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b44729ba0ba42952a99220eb3e95cc1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a1b44729ba0ba42952a99220eb3e95cc1">onUpdateGroup</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId)=0</td></tr>
<tr class="separator:a1b44729ba0ba42952a99220eb3e95cc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5ce051b375738371dd36cad800d7d5e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#aa5ce051b375738371dd36cad800d7d5e">onDissolve</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId)=0</td></tr>
<tr class="separator:aa5ce051b375738371dd36cad800d7d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a805a84e10daa96adc93c11ed2c231def"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a805a84e10daa96adc93c11ed2c231def">onLeave</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId, INT64 updateTime, INT64 baseTime)=0</td></tr>
<tr class="separator:a805a84e10daa96adc93c11ed2c231def"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee523c8884295fab5efc5616ffac7271"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#aee523c8884295fab5efc5616ffac7271">onDealMembers</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId)=0</td></tr>
<tr class="separator:aee523c8884295fab5efc5616ffac7271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ac5bad07af050067a245add5de51813"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a3ac5bad07af050067a245add5de51813">onUpdateGroupComment</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId)=0</td></tr>
<tr class="separator:a3ac5bad07af050067a245add5de51813"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af85551f6ff11910293ee9835afbb1a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html#a1af85551f6ff11910293ee9835afbb1a">onSetGroupDnd</a> (int operationId, bool result, <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> reason, const char *groupId)=0</td></tr>
<tr class="separator:a1af85551f6ff11910293ee9835afbb1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="class_j_c_group_callback.html">JCGroupCallback</a> 回调，用于回调群组相关事件 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a144693a85c66d55a9a82b01cd8b64ae5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a144693a85c66d55a9a82b01cd8b64ae5">&#9670;&nbsp;</a></span>onCreateGroup()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onCreateGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_group_item.html">JCGroupItem</a> *&#160;</td>
          <td class="paramname"><em>groupItem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建群回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#afa9debe40484bf21a20bde91c690c5b2">createGroup</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>创建群是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupItem</td><td><a class="el" href="class_j_c_group_item.html">JCGroupItem</a> 对象 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aee523c8884295fab5efc5616ffac7271"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee523c8884295fab5efc5616ffac7271">&#9670;&nbsp;</a></span>onDealMembers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onDealMembers </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>操作成员结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#ac6f465e033f82975d357560227ef3de1">dealMembers</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>操作成员是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa5ce051b375738371dd36cad800d7d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5ce051b375738371dd36cad800d7d5e">&#9670;&nbsp;</a></span>onDissolve()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onDissolve </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>解散群组回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#afb3d4d8becc395cc5069ed6ea0f70019">dissolve</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>解散群是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a339a43526d996090c0880be4ca64be08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a339a43526d996090c0880be4ca64be08">&#9670;&nbsp;</a></span>onFetchGroupInfo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onFetchGroupInfo </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_group_item.html">JCGroupItem</a> *&#160;</td>
          <td class="paramname"><em>groupItem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_j_c_group_member.html">JCGroupMember</a> &gt; *&#160;</td>
          <td class="paramname"><em>members</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullUpdated</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>拉取群详情结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#adcdfa66782ca7de28c116314aa4d3a0e">fetchGroupInfo</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>拉取群详情是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupItem</td><td><a class="el" href="class_j_c_group_item.html">JCGroupItem</a> 对象 </td></tr>
    <tr><td class="paramname">members</td><td>成员列表 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
    <tr><td class="paramname">fullUpdated</td><td>是否全更新<ul>
<li>true: 全量更新</li>
<li>false: 非全量更新 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8c15219cb3a3360447ecafa803b921ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c15219cb3a3360447ecafa803b921ad">&#9670;&nbsp;</a></span>onFetchGroups()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onFetchGroups </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> &gt; *&#160;</td>
          <td class="paramname"><em>groups</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>fullUpdated</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>拉取群列表结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#a05a6142df12d9b620c32e00074f88565">fetchGroups</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>拉取群列表是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groups</td><td>群列表 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
    <tr><td class="paramname">fullUpdated</td><td>是否全更新<ul>
<li>true: 全量更新</li>
<li>false: 非全量更新 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a001f375d8fe4481cfcdbc6ba0040c0c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a001f375d8fe4481cfcdbc6ba0040c0c8">&#9670;&nbsp;</a></span>onGroupInfoChange()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onGroupInfoChange </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_j_c_group_member.html">JCGroupMember</a> &gt; *&#160;</td>
          <td class="paramname"><em>memberList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>群信息更新</p>
<p>调用 <a class="el" href="class_j_c_group.html#adcdfa66782ca7de28c116314aa4d3a0e">fetchGroupInfo</a> 获取更新</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
    <tr><td class="paramname">memberList</td><td>成员列表 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab8fc43ab45f05c3d24be2424059486b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8fc43ab45f05c3d24be2424059486b3">&#9670;&nbsp;</a></span>onGroupListChange()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onGroupListChange </td>
          <td>(</td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_j_c_group_item.html">JCGroupItem</a> &gt; *&#160;</td>
          <td class="paramname"><em>groupList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>群列表更新</p>
<p>调用 <a class="el" href="class_j_c_group.html#a05a6142df12d9b620c32e00074f88565">fetchGroups</a> 获取更新</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupList</td><td>变化的 group </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a805a84e10daa96adc93c11ed2c231def"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a805a84e10daa96adc93c11ed2c231def">&#9670;&nbsp;</a></span>onLeave()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onLeave </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>updateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">INT64&#160;</td>
          <td class="paramname"><em>baseTime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>离开群组回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#a9df6a914c9cdae000d8b0928d6bf524a">leave</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>离开群组是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
    <tr><td class="paramname">updateTime</td><td>服务器更新时间 </td></tr>
    <tr><td class="paramname">baseTime</td><td>服务器上个版本更新时间 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1af85551f6ff11910293ee9835afbb1a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af85551f6ff11910293ee9835afbb1a">&#9670;&nbsp;</a></span>onSetGroupDnd()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onSetGroupDnd </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置免打扰回掉</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识 </td></tr>
    <tr><td class="paramname">result</td><td>设置免打扰是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1b44729ba0ba42952a99220eb3e95cc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b44729ba0ba42952a99220eb3e95cc1">&#9670;&nbsp;</a></span>onUpdateGroup()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onUpdateGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>更新群信息调用回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识，由 <a class="el" href="class_j_c_group.html#ae218f7524ceb1bd3b94845ad78f80643">updateGroup</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>更新群信息是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3ac5bad07af050067a245add5de51813"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ac5bad07af050067a245add5de51813">&#9670;&nbsp;</a></span>onUpdateGroupComment()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void JCGroupCallback::onUpdateGroupComment </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a>&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>groupId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>更新备注信息结果回调</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作标识 </td></tr>
    <tr><td class="paramname">result</td><td>更新备注信息是否成功<ul>
<li>true: 成功</li>
<li>false: 失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效，参见：<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroup 错误码</a> </td></tr>
    <tr><td class="paramname">groupId</td><td>群标识 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>SDK/all/include/<a class="el" href="_j_c_group_callback_8h_source.html">JCGroupCallback.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
